<div class="headertitle">
	<span class="header"><?php echo SITE_NAME; ?></span>
	<span class="header"><?php echo __('Home'); ?></span>
</div>

<?php echo $this->element('latest_home_threads'); ?>

<div class="homeLeft">
	<div class="homeTitle"><?php echo $latestThread['Thread']['title']; ?></div>
		<?php
			echo Markdown($latestThread['Thread']['body']);
		?>
	<div style="float: right">
			<?php
				echo $this->Html->link($latestThread['Thread']['reply_count'] . " Replies", array(
					"controller" => "threads",
					"action" => "view",
					"id" => $latestThread['Thread']['id'],
					"slug" => Inflector::slug($latestThread['Thread']['title'], '-')
				));
			?>
	</div>
	<div style="float: right">
		<?php
			echo $this->Html->image("icons/comment.png", array("class" => "homeCommentIcon"));
		?>
	</div>
	<div style="float: right">
		<?php
			echo $latestThread['Thread']['created'];
		?>
	</div>

	<br style="clear: left" />
</div>

<br style="clear: both" />